/*
jeig sh xinge invoke d
*/ 

function playVideo2(url){
alert(url);
}
function playVideo(url,id){
//alert(url);
playx(url,id);
}
function playVideo3(url,id){
alert(url); 
playx(url,id);
}

/*
jeig sh jujo invoke d
*/ 
function playx(video)
{
//	alert(video);
	try{
 console.info(video);
	}catch(e){}
	try{
		
 sendNSCommand('play',video);
	}catch(e){alert(e);}
}
function playx_v3(video,id)
{
//	alert(video);
	try{
 console.info(video);
	}catch(e){}
	try{
			//"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" http://localhost/static/index.html -kiosk		
		// sendNSCommand('play',video,id);
		 var dsl1="new com.attilax.player.Ati4vodPlayer().play('@mid@')";
						 video=encodeURIComponent(video);
						dsl1=dsl1.replace("@mid@",video);
						xhr.req({dsl:dsl1},function(data){
						//callback
						console.log(data);
						}
						);
		
		
				}catch(e){alert(e);}

}

function playx_v2(video,id)
{
//	alert(video);
	try{
 console.info(video);
	}catch(e){}
	try{
					
		 sendNSCommand('play',video,id);
				}catch(e){alert(e);}

}
   


   function listCtrl($scope) { 

    $scope.listO7 =[ ] ; 

} 

   



//$(function() { 
//
//
//
//	loadIniData();
//	
//	dwr.engine.setAsync(false);	
//
//});



 
